package com.talent.service.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.talent.model.entity.sys.SysUser;

import java.util.List;
/**
 * @ClassName：ResponseEnum
 * @Author: hszhou
 * @Date: 2024/10/21 13:35
 * @Description: 用户接口
 */
public interface ISysUserService extends IService<SysUser> {



    SysUser selectUserByUsername(String username);

    /**
     * 获取用户的权限
     * @param userId
     * @return
     */
    List<String> getPermission(Long userId);

}
